<link rel="stylesheet" href="<?php echo base_url()?>css/jquery.lightbox-0.5.css" type="text/css"/>

<script src="<?php echo base_url()?>js/jquery.js"></script>
<script src="<?php echo base_url()?>js/jquery.lightbox-0.5.js"></script>
<script type="text/javascript">
$(function() {
    $('#hasil-pencarian a').lightBox();
    $('#menu-desc a').lightBox();
});
</script>
<!--<div id="search-hasil">
    <form method="post" action="<?php// echo base_url()?>home/search_processing">
    <input type="text" name="query" id="search-box" placeholder="Cari barang yang disewakan di sini..." onfocus="this.value=''"/>
    <?php// echo form_dropdown('jenis', $jenis) ?>
    <?php// echo form_dropdown('kota', $kota) ?>
    <div id="namboot">
        <input type="submit" value="NAMBOOT" id="namboot-button"/>
    </div>
    </form>
</div>-->
<div id="hasil-pencarian">
    <p>Kata kunci pencarian: <?php if(!empty($query)) echo $query;?></p>
    <?php
        if(!empty($item)){
            for($i=0;$i<count($item);$i++){
                echo '
                    <div class="item-hasil">asd
                        <div class="img">
                         <a href="'.base_url().'images/icon_clock.png"><img src="'.base_url().'images/icon_clock.png" width="100" height="100" /></a>
                        </div>
                        <div class="info">
                            '.substr($item[$i]['NAME'], 0, 20).' ... <a href="">see more</a>
                        </div>
                        <div class="menu">
                            <a href=""><img src="'.base_url().'asset/tag.png" title="Tag barang ini" width="30" height="23"/></a>
                            <a href="icon.png"><img src="'.base_url().'asset/description.png" id="menu-item" title="Deskripsi barang" width="30" height="23"/></a>
                        </div>
                    </div>
                    ';
            }
        }
    ?>
</div>